<?php
namespace Admin\Model;
use Think\Model;
class AdminModel extends Model {
	public function adminList(){
		return	$info = $this-> select();
		}
        public function adminrole(){
            $where['adname'] =  $_SESSION['admin'];
            return $info = $this->field('roleid')->find();
        }
}